package com.jf.tzkk.chain.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jf.tzkk.chain.entity.LcUser;
import com.jf.tzkk.chain.entity.LcUserRechargeRecord;

import java.math.BigDecimal;

public interface IUserService  extends IService<LcUser> {
    /**
     * 添加金额
     * @param uid 会员ID
     * @param money 金额
     * @param fundType 资金类型
     */
    void addMoney(Integer uid, BigDecimal money, Integer fundType);

    /**
     * 充值
     * @param recharge
     */
    void recharge(LcUserRechargeRecord recharge);
}
